const path = require("path"); // 引入path模块
module.exports = {
  mode: "development",
  entry: {
    production: ["./src/entry.js"],
  }, // 入口文件
  output: {
    path: path.resolve(__dirname, "./dist"), // 输出的路径
    filename: "[name].js",
  },
};
